package com.sc.nft.controller.request;

import com.sc.nft.enums.WalletChannelEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class WithdrawRequest {

    @NotNull(message ="用户银行卡id不能为空")
    @ApiModelProperty("用户银行卡id")
    private Long userBankCardId;

    @NotNull(message ="提现金额不能为空")
    @ApiModelProperty("提现金额")
    private BigDecimal amount;

    @ApiModelProperty("验证码id")
    @NotNull(message = "验证码Id不能为空")
    private Long smsId;

    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为为空")
    private String codes;

}
